package com.fengxing.ams.web.facade.mouble;

import org.springframework.stereotype.Repository;

import redis.clients.jedis.Jedis;

import com.fengxing.ams.web.facade.mouble.college.CollegeVO;

@Repository
public class ZytRedis extends BaseRedis implements IZytRedis {

	@Override
	public void putCollege(CollegeVO me) {
		Jedis jedis = this.getJedis();
		
		try {
			jedis.hset(COLLEGE+me.getCollege_id(), "data", me.getBatch_ratio());
		} finally {
			this.closeJedis(jedis);
		}
	}
	
}
